import request from "../utils/request";

// 获取数据+分页+搜索
export const apiVisit = (data) => {
  return request({ url: "/api/visit", method: "post", data });
};

// 存入当前访问记录
export const apiAddVisit = (data) => {
  return request({ url: "/api/addVisit", method: "post", data });
};

// 删除
export const apiDelVisit = (data) => {
  return request({ url: "/api/delVisit", method: "post", data });
};
